package com.sena.crawler.domian;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

/**
 * @author Admin
 */
public class InnerLink extends BaseLink implements Serializable {


    private static final long serialVersionUID = -971932407839839650L;
    private Set<String> nlinks;
    private Integer cnt_nlink;

    public Set<String> getNlinks() {
        return nlinks;
    }

    public void setNlinks(Set<String> nlinks) {
        this.nlinks = nlinks;
    }

    public Integer getCnt_nlink() {
        return cnt_nlink;
    }

    public void setCnt_nlink(Integer cnt_nlink) {
        this.cnt_nlink = cnt_nlink;
    }

    public InnerLink(Date scan_time, String scan_url, Set<String> nlinks, Integer cnt_nlink) {
        super(scan_time, scan_url);
        this.nlinks = nlinks;
        this.cnt_nlink = cnt_nlink;
    }

    public InnerLink(Set<String> nlinks, Integer cnt_nlink) {
        this.nlinks = nlinks;
        this.cnt_nlink = cnt_nlink;
    }
}
